<!DOCTYPE html>
<html>
<head>
<title>客户协议</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.unitName" @keyup.enter="query" placeholder="单位名称">
			</div>
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.conForm" @keyup.enter="query" placeholder="合同类型">
			</div>
			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.cooperUnit" @keyup.enter="query" placeholder="合作单位">
			</div>
			<a class="btn btn-default" @click="query">查询</a>
			<!--#if($shiro.hasPermission("customcontract:save"))-->
			<!--<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
			<!--#end-->
			<!--#if($shiro.hasPermission("customcontract:update"))-->
			<!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
			<!--#end-->
			<!--#if($shiro.hasPermission("customcontract:delete"))-->
			<!--<a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>-->
			<!--#end-->
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">单位编码</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.unitId" placeholder="单位编码"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">单位名称</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.unitName" placeholder="单位名称"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">协议开始时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.contractBgdate" placeholder="协议开始时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">协议结束时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.contractEddate" placeholder="协议结束时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">协议编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.contractno" placeholder="协议编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">业务描述</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.businessdesc" placeholder="业务描述"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">合作类型</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.cooperationtype" placeholder="合作类型"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">责任部门</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.responsibilitydepartment" placeholder="责任部门"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">责任人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.responsibilityperson" placeholder="责任人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">总金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.totalje" placeholder="总金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">合作单位</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.cooperationunit" placeholder="合作单位"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">管理费方式</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.managementcosttype" placeholder="管理费方式"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">协议价格</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.agreementprice" placeholder="协议价格"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">税率</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.taxrate" placeholder="税率"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">比例或金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.percentormoney" placeholder="比例或金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">其他说明</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.remark" placeholder="其他说明"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">是否有效</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.available" placeholder="是否有效"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">经济补偿承担方式</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.jjbccdfs" placeholder="经济补偿承担方式"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">经济补偿承担比例或金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.jjbccdblhje" placeholder="经济补偿承担比例或金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">工伤承担方式</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.gscdfs" placeholder="工伤承担方式"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">工伤承担比例或金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.gscdblhje" placeholder="工伤承担比例或金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">工伤</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.gongshang" placeholder="工伤"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">养老</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.yanglao" placeholder="养老"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">失业</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.shiye" placeholder="失业"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">医疗</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.yiliao" placeholder="医疗"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">生育</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.shengyu" placeholder="生育"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">公积金</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="customContract.gongjijin" placeholder="公积金"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/js/custom/customcontract.js?_${date.systemTime}"></script>
</body>
</html>